﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="nc.vo.ebvp.constant.IModuleCodeConstant"%>
<%@ page import="nc.bs.ebvppub.tools.ToolUtils"%>
<%@ page import="nc.vo.ebvp.logindex.pojo.Constant"%>
<%@ page import="nc.bs.ecpubapp.tools.ECVersionPara"%>
<%@ page import="nc.vo.sm.UserVO"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/WEB-INF/lang-support.tld" prefix="lang-support"%> 
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	// 公司个性化logo处理
	String logo = "";
	if (session.getAttribute("logo") != null) {
		logo = session.getAttribute("logo").toString();
	} else {
		logo = "defaultlogo.GIF";
	}
	String suppName = "";
	Object obj = session.getAttribute("suppName");
	if (obj != null) {
		suppName = obj.toString();
	}
	String strSysId = (String)request.getSession().getAttribute("run_sys_id");
	boolean bIsScmSys = false;
	if("SCM".equals(strSysId)){
		bIsScmSys = true;
	}
	//供应商档案是否有电子采购页签信息标识
	Boolean isEcSupp = (Boolean)request.getSession().getAttribute(Constant.IS_EC_SUPP);
	// 只有潜在供应商与核准合格供应商可以进行招投标业务，核准不合格与无扩展信息的供应商不允许参加招投标
	// by zhangjxf 2014-05-19 20:03:00    BUG:NCdp205043086
	Boolean isValidSupForZhaobiaoBid = (Boolean)request.getSession().getAttribute(Constant.IS_VALID_SUPPLIER_FOR_ZHAOBIAO_BID);
	java.util.Map<String,Boolean> mapModulesStatus = (java.util.Map<String,Boolean>)session.getAttribute(IModuleCodeConstant.MODULE_SESSION_ID);
	boolean bModuleSRM = mapModulesStatus.get(IModuleCodeConstant.MODULE_SRM).booleanValue();
	boolean bModuleSCM_PU = mapModulesStatus.get(IModuleCodeConstant.MODULE_SCM_PU).booleanValue();
	boolean bModuleSCM_CT = mapModulesStatus.get(IModuleCodeConstant.MODULE_SCM_CT).booleanValue();
	boolean bModuleSCM_IC = mapModulesStatus.get(IModuleCodeConstant.MODULE_SCM_IC).booleanValue();
	boolean bModuleSCM_IC_SYS = mapModulesStatus.get(IModuleCodeConstant.MODULE_SCM_IC).booleanValue() && bIsScmSys;
	boolean bModuleARAP = mapModulesStatus.get(IModuleCodeConstant.MODULE_ARAP).booleanValue();
	boolean bModuleEBP = mapModulesStatus.get(IModuleCodeConstant.MODULE_EBP).booleanValue();
	boolean bModuleSCM_IC_EBP_SYS = bModuleSCM_IC && bModuleEBP && bIsScmSys;
	boolean bModuleEBVSC = mapModulesStatus.get(IModuleCodeConstant.MODULE_EBVSC).booleanValue();
	String strImg1 = "temp_slideshow_un_04.png";
	String strTbImg1 = "temp_slideshow_un_tb01.png";
	String strImg2 = "temp_slideshow_un_01.png";
	String strTbImg2 = "temp_slideshow_un_tb02.png";
	String strImg3 = "temp_slideshow_un_02.png";
	String strTbImg3 = "temp_slideshow_un_tb03.png";
	String strImg4 = "temp_slideshow_un_03.png";
	String strTbImg4 = "temp_slideshow_un_tb04.png";
	String strImg5 = "temp_slideshow_un_05.png";
	String strTbImg5 = "temp_slideshow_un_tb05.png";
	String strTile = "";
	String strOrderExInfoClass = "hidden";
	String score = (String)request.getSession().getAttribute("def1");
	if(ECVersionPara.isGHVersion1() || ECVersionPara.isGHVersion2()){
		 strImg1 = "temp_slideshow_un_11.png";
		 strTbImg1 = "temp_slideshow_un_tb11.png";
		 strImg2 = "temp_slideshow_un_22.png";
		 strTbImg2 = "temp_slideshow_un_tb22.png";
		 strImg3 = "temp_slideshow_un_33.png";
		 strTbImg3 = "temp_slideshow_un_tb33.png";
		 strImg4 = "temp_slideshow_un_44.png";
		 strTbImg4 = "temp_slideshow_un_tb44.png";
		 strImg5 = "temp_slideshow_un_55.png";
		 strTbImg5 = "temp_slideshow_un_tb55.png";
		 strTile = "2012 Computer Purchasing";
		 strOrderExInfoClass = "";
	}
%>
<html>
	<head>
		<!-- 测试：登录后首页导航栏及下拉菜单，自助服务按钮绑定下拉菜单 -->
		<script type="text/javascript"
			src="<%=path%>/commonres/common/frame/src/js/signedIn.js"></script>
		<script type="text/javascript"
			src="<%=path%>/commonres/common/frame/src/js/bid_flow.js"></script>
			<script type="text/javascript" src="<%=path%>/commonres/common/frame/src/js/schedulemain.js"></script>
			<script type="text/javascript" src="<%=path%>/component/ebvp/signed/signed.js"></script>
		<link rel="stylesheet" type="text/css"	href="<%=path%>/css/signed.css" />
		<script>
		
		var webpath="<%=path%>";
	
		(function($) {
		$.ajax({
			type: "POST",
	        url:"/ebvp/schedulecoll/langtrconller/langtr",
	        async: false,       data:"nameclass=nc.bs.ebvp.schedulecoQuery.LogigImpl",
	        success:function(msg) {
	        	map = msg;
	       }
		});
		})($);
			var ebvpContext = "<%=basePath%>";
			$(function() {
				var msg1= getLanMsgs("ec22180-000044");
				var msg100 = getLanMsg("0ec22400-000001");
				var msg101 = getLanMsgs("ec22180-000241");
				var msg131 = getLanMsgs("ec22180-000044");
				var msgInvalidSupForZhaobiaoBid = "核准不合格与核准无扩展信息的供应商不允许参加招投标!";
				var biddingProjUrl = "javascript:showsfmMsg('"+msg100+"','"+msg101+"','"+msg131+"')";
				var isValidSupForZhaobiaoBid = <%=isValidSupForZhaobiaoBid%>;
				//if(isEcSupp == "true" || isEcSupp == true){
					biddingProjUrl = "/ebvp/sourcing/biddingprojlist?menuid=21";
				//}
				
		var msg1= getLanMsgs("ec22180-000047");
		var msg2= getLanMsgs("ec22180-000048");
		var msg3= getLanMsgs("ec22180-000049");
		var msg4= getLanMsgs("ec22180-000050");
		var msg5= getLanMsgs("ec22180-000051");
		var msg6= getLanMsgs("ec22180-000052");
		var msg7= getLanMsgs("ec22180-000053");
		var msg8= getLanMsgs("ec22180-000054");
		var msg9= getLanMsgs("ec22180-000055");
		var msg10= getLanMsgs("ec22180-000056");
		var msg11= getLanMsgs("ec22180-000057");
		var msg12= getLanMsgs("ec22180-000058");
		var msg21= getLanMsg("0ec22400-000026");
		var menuGroups = [
        {
            'menuId': "functionMenu",
            'menuTitle': msg1,
            'iconClass': "account",
            'iconImg': null,
            'needShow': bModuleEBPOrSCM_PU_CT,
            'items': [
                {
                    'itemId': "functionMenuItem1",
                    'itemUrl': biddingProjUrl,
                    'needShow': bModuleEBP,
                    'itemName': msg2
                }
                ,
                {
                    'itemId': "functionMenuItem2",
                    'itemUrl': "/ebvp/contract/contractlist?menuid=34",
                    'needShow': bModuleEBPOrSCM_CT && !bIsEsbSys,
                    'itemName': msg3
                }
                ,
                {
                    'itemId': "functionMenuItem3", 
                    'itemUrl': "/ebvp/order/exeinfolist?menuid=33",
                    'needShow': bModuleSCM_PU,
                    'itemName': msg4
                }
                ,
                {
                    'itemId': "functionMenuItem4",
                    'itemUrl': "/ebvp/other/goQryPageFromList?menuid=36",
                    'needShow': bModuleSCM_PU,
                    'itemName': msg5
                },
                {
                    'itemId': "functionMenuItem5",
                    'itemUrl': "/ebvp/other/sendPlanList?menuid=37",
                    'needShow': bModuleSCM_PU,
                    'itemName': msg21
                }
            ]
        }
        ,
        {
            'menuId': "searchMenu",
            'menuTitle': msg7,
            'iconClass': "search",
            'iconImg': null,
            'needShow': bModuleARAPOrSCM_PU_IC,
            'items': [
                {
                    'itemId': "searchMenuItem1",
                    'itemUrl': "/ebvp/other/supInfoList?menuid=51",
                    'needShow': bModuleSCM_IC,
                    'itemName': msg8
                },
                {
                    'itemId': "searchMenuItem2",
                    'itemUrl': "/ebvp/other/arrGoodsList?menuid=52",
                    'needShow': bModuleSCM_IC,
                    'itemName': msg9
                },
                {
                    'itemId': "searchMenuItem3",
                    'itemUrl': "/ebvp/other/storageList?menuid=53",
                    'needShow': bModuleSCM_IC,
                    'itemName': msg10
                },
                {
                    'itemId': "searchMenuItem4",
                    'itemUrl': "/ebvp/other/invoiceList?menuid=54",
                    'needShow': bModuleSCM_PU,
                    'itemName': msg11
                },
                {
                    'itemId': "searchMenuItem5",
                    'itemUrl': "/ebvp/other/paymentList?menuid=55",
                    'needShow':  bModuleARAP && bStdVersion,
                    'itemName': msg12
                }
            ]
        }
    ];

    /* 左侧菜单栏 */
    $( "#columnLeft" ).UIColumnMenu({
        'menuGroups': menuGroups,
        'singleGroup': false
    });
		  });
		$(function() {
            var slideShowData = [
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg1%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg1%>",
                    'linkUrl': ".",
                    'title': "2012 Computer Purchasing",
                    'callback': function() {
        				return false;
        			}
                },
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg2%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg2%>",
                    'linkUrl': ".",
                    'title': "",
                    'callback': function() {
        				return false;
        			}
                },
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg3%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg3%>",
                    'linkUrl': ".",
                    'title': "",
                    'callback': function() {
        				return false;
        			}
                },
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg4%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg4%>",
                    'linkUrl': ".",
                    'title': "",
                    'callback': function() {
        				return false;
        			}
                },
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg5%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg5%>",
                    'linkUrl': ".",
                    'title': "",
                    'callback': function() {
        				return false;
        			}
                }
            ];
            $( "#slideshow" ).UISlideShow({ 'items': slideShowData, 'hideThumb': false });
        });
		
		
    $(function() {
       //	$( "#reminder" ).UIReminder({ 'number': ${workListSize} });
   		$( "#inProgress" ).UIReminder({ 'number': ${BIDDING_PROJ_COUNT} });
		//	$( "#alermInfo" ).UIReminder({ 'number': ${preAlertListSize} });
    });
    
    $(function() {
    	$( "#gonggl" ).click(function() {
    		$("#gengduo").attr("href","<%=path%>/infopub/purannounce");
		});
        $( "#caigdx" ).click(function() {
		 	$("#gengduo").attr("href","<%=path%>/infopub/viewpurtrends");
		});
	    $( "#zhengcfg" ).click(function() {
		 	$("#gengduo").attr("href","<%=path%>/infopub/viewlawrule");
		});
		$( "#orderzt" ).click(function() {
    		$("#ordera").attr("href","<%=path%>/order/exestatuslist?menuid=32");
		});
        $( "#ordergz" ).click(function() {
		 	$("#ordera").attr("href","<%=path%>/order/exeinfolist?menuid=33");
		});
    });
    
    
    //查询数据
    function qryData(){
    	// 有效性检验，两个输入项都必须为非空
    	var goods = $.trim($('#goods').val());
    	var storageOrg = $.trim($('#storageOrg').val());
    	if (!goods) {
			alert(getLanMsgs('ec22180-000102'));
    		$('#goods').focus();
    		return false;
    	}
    	
    	if (!storageOrg) {
    		alert(getLanMsgs('ec22180-000103'));
    		$('#storageOrg').focus();
    		return false;
    	}
    	$( ".block1" ).text("");
    	window.open("","newwindow","alwaysRaised=yes,resizable=yes,menubar=yes,scrollbars=yes,location=yes,top=110,left=180,width=1100,height=600");
        form1.action="<%=path%>/other/mainVmiList";
        document.form1.target="newwindow";	
        form1.submit();
    }
    var ie7 = $.browser.msie && $.browser.version == 7;
    function ajaxurlheil(urlvalue){
     	$.ajax({
			type: "get",
	        url:"/ebvp/login/loginsuppname",
	        async: false,
	        data:"",
	        success:function(msg) {
						if (msg != "suppName") {
							window.location.href='/ebvp/login/loginOut';
						} else {
							if(($.browser.msie && $.browser.version == 7) ||($.browser.msie && $.browser.version == 8.0) || ($.browser.msie && $.browser.version == 7.0) || ($.browser.msie && $.browser.version == 8)|| ($.browser.msie && $.browser.version == 9)||($.browser.msie && $.browser.version == 9.0)){
			   					var scrWidth=screen.availWidth;
			   					var scrHeight=screen.availHeight;
								window.open(urlvalue,"newwindow","resizable=yes,toolbar=yes, menubar=yes,   scrollbars=yes,location=yes, status=yes,top=0,left=0,width="+scrWidth+",height="+scrHeight);
							} else {
								window.open(urlvalue);
							}					
						}
					}
		});
    }
    function ajaxurlheisal(urlvalue,pkMessage){
     	$.ajax({
			type: "get",
	        url:"/ebvp/login/loginsuppname",
	        async: false,
	        data:"",
	        success:function(msg) {
						if (msg != "suppName") {
							window.location.href='/ebvp/login/loginOut';
						} else {
							if(($.browser.msie && $.browser.version == 7) ||($.browser.msie && $.browser.version == 8.0) || ($.browser.msie && $.browser.version == 7.0) || ($.browser.msie && $.browser.version == 8)|| ($.browser.msie && $.browser.version == 9)||($.browser.msie && $.browser.version == 9.0)){
			   					var scrWidth=screen.availWidth;
			   					var scrHeight=screen.availHeight;
								upstatusz(pkMessage);
								window.open(urlvalue,"newwindow","resizable=yes,toolbar=yes, menubar=yes,   scrollbars=yes,location=yes, status=yes,top=0,left=0,width="+scrWidth+",height="+scrHeight);
							} else {
								upstatusz(pkMessage);
								window.open(urlvalue);
							}					
						}
					}
		});
    }
    function ajaxurlheiljxz(urlvalzuse,urmylvdalue,urlvaalue,urlvavlue,urlvaqlue,isFirstLogin,pkMessage){
     	$.ajax({
			type: "get",
	        url:"/ebvp/login/loginsuppname",
	        async: false,
	        data:"",
	        success:function(msg) {
						if (msg != "suppName") {
							window.location.href='/ebvp/login/loginOut';
						} else {
							if(($.browser.msie && $.browser.version == 7) ||($.browser.msie && $.browser.version == 8.0) || ($.browser.msie && $.browser.version == 7.0) || ($.browser.msie && $.browser.version == 8)|| ($.browser.msie && $.browser.version == 9)||($.browser.msie && $.browser.version == 9.0)){
			   					var scrWidth=screen.availWidth;
			   					var scrHeight=screen.availHeight;
								openCurrentStep(urmylvdalue,urlvaalue,urlvavlue,urlvaqlue,isFirstLogin,pkMessage);
							} else {
								openCurrentStep(urmylvdalue,urlvaalue,urlvavlue,urlvaqlue,isFirstLogin,pkMessage);
							}
						}
					}
		});
    }
    function ajaxurlheildb(urlvalue,pkMessage){
     	$.ajax({
			type: "get",
	        url:"/ebvp/login/loginsuppname",
	        async: false,
	        data:"",
	        success:function(msg) {
						if (msg != "suppName") {
							window.location.href='/ebvp/login/loginOut';
						} else {
							if(($.browser.msie && $.browser.version == 7) ||($.browser.msie && $.browser.version == 8.0) || ($.browser.msie && $.browser.version == 7.0) || ($.browser.msie && $.browser.version == 8)|| ($.browser.msie && $.browser.version == 9)||($.browser.msie && $.browser.version == 9.0)){
			   					var scrWidth=screen.availWidth;
			   					var scrHeight=screen.availHeight;
								upstatus(pkMessage);
								window.open(urlvalue,"newwindow","resizable=yes,toolbar=yes, menubar=yes,   scrollbars=yes,location=yes, status=yes,top=0,left=0,width="+scrWidth+",height="+scrHeight);
							} else {
								upstatus(pkMessage);
								window.open(urlvalue);
							}					
						}
					}
		});
    }
    
    function upstatus(pkMessage){
		var url="<%=path%>/infopub/readMessage?pkMessage="+pkMessage;
		location.href = url;
	}
	function upstatusz(pkMessage){
		var url="<%=path%>/infopub/readMessagex?pkMessage="+pkMessage;
		location.href = url;
	}
	function windoeopetn(urlvalue){
		var ie7 = $.browser.msie && $.browser.version == 7;
  					if(($.browser.msie && $.browser.version == 7) ||($.browser.msie && $.browser.version == 8.0) || ($.browser.msie && $.browser.version == 7.0) || ($.browser.msie && $.browser.version == 8)|| ($.browser.msie && $.browser.version == 9)||($.browser.msie && $.browser.version == 9.0)){
		   					var scrWidth=screen.availWidth;
		   					var scrHeight=screen.availHeight;
							window.open(urlvalue,"newwindow","resizable=yes,toolbar=yes, menubar=yes,   scrollbars=yes,location=yes, status=yes,top=0,left=0,width="+scrWidth+",height="+scrHeight);
						} else {
							window.open(urlvalue);
						}		
   	}
    </script>
	<lang-support:langres resid="ec22400_0" />
	</head>
	<body>
		<!-- Document Content -->
		<div class="float_center doc_width">
			<div class="doc_content_shadow">
				<div class="doc_content">
					<div id="columnLeft" class="frame_column_left">
						<div class="sidebox">
							<div class="box_title bg_blue">
								<span class="title_icon noicon"></span>
								<span class="title_name"><lang-support:wp resid="ec22180_0" key="ec22180-000059"/></span>
							</div>
							<div class="sidebox_bd bdbtm bdgray">
								<div class="box_content">
									<c:if test="${pk_file != null}">
									<div class="ep_logo">
										<img id="logoimg" src="<%=path%>/register/getLogoImage?pk_file=${pk_file}" alt="" />
										<script type="text/javascript">
											$("#logoimg").attr("height",48).attr("width", 206);
										</script>
									</div>
									
									<div id="epApprove" class="ep_approve">
									</div>
									</c:if>
									<!--<a href="#">-->
									<c:if test="${pk_file == null}">
<!--										<img src="/ebvp/commonres/common/frame/src/img/temp_enterprise_logo_sl.png" alt="" /> -->
									</c:if>
									<!--</a>-->
									<dl class="ep_info">
										<dt><lang-support:wp resid="ec22180_0" key="ec22180-000060"/>${LICENSE_NO}
										</dt>
										<dt><lang-support:wp resid="ec22180_0" key="ec22180-000061"/>${COUNTRY_ZONE}
										</dt>
										<dt><lang-support:wp resid="ec22180_0" key="ec22180-000063"/>${TIME_ZONE}
										</dt>
									</dl>
								</div>
							</div>
						</div>
					</div>
					<div class="frame_center">
						<div id="slideshow" style="float: left; width: 530px; height: 210px; overflow: hidden;">
        					<div class="ui-slideshow">
            				<div class="ui-thumbwrapper">
					                <div class="ui-thumbar">
					                    <div class="float_right">
					                        <a href="#">
					                            <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_tb01.png" alt="" />
					                        </a>
					                        <a href="#" class="current">
					                            <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_tb02.png" alt="" />
					                        </a>
					                        <a href="#">
					                            <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_tb03.png" alt="" />
					                        </a>
					                        <a href="#">
					                            <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_tb04.png" alt="" />
					                        </a>
					                    </div>
					                </div>
					                <div class="ui-slidewrapper">
					                    <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_04.png" alt="" />
					                </div>
					            </div>
					        </div>
					    </div>
<!--						<div class="slideshow">-->
<!--							<img-->
<!--								src="/ebvp/commonres/common/frame/src/img/temp_slideshow.png"-->
<!--								alt="" />-->
<!--						</div>-->
						<div class="channel_box">
							<div class="channel_title">
								<span class="title_name"><lang-support:wp resid="ec22180_0" key="ec22180-000064"/></span>
								<div id="reminder" class="reminder"></div>
								<a href="<%=path%>/infopub/moreWaitingInfo" class="title_more"><lang-support:wp resid="ec22180_0" key="ec22180-000065"/></a>
							</div>
								
							<ul class="remainedr_list" id="remainedr_list">
								<div class="loading"/>
							</ul>
						</div>
						<c:if test="${IS_EC_SUPP == true || IS_EC_SUPP == 'true'}">
						<%if(bModuleEBP && ECVersionPara.isStdVersion()){%>
						<div class="channel_box">
							<div class="channel_title">
								<span class="title_name"><lang-support:wp resid="ec22180_0" key="ec22180-000067"/></span>
								<div id="inProgress" class="reminder"></div>
								<a href="<%=path%>/sourcing/biddingprojlist?menuid=21" class="title_more"><lang-support:wp resid="ec22180_0" key="ec22180-000065"/></a>
							</div>
							<c:if test="${BIDDING_PROJ_INFO != null}">
								<table cellpadding="0" cellspacing="0" class="infolist">
									<thead>
										<tr class="row_bg">
											<td class="col_name">
												<lang-support:wp resid="ec22180_0" key="ec22180-000068"/>
											</td>
											<td class="col_content">
												<lang-support:wp resid="ec22180_0" key="ec22180-000069"/>
											</td>
											<td class="col_date nobd">
												<lang-support:wp resid="ec22180_0" key="ec22180-000070"/>
											</td>
										</tr>
									</thead>
									<tbody>
										 
									</tbody>
								</table>
							</c:if>
							<c:if test="${BIDDING_PROJ_INFO==null}">
								<ul class="infolist ">
									<li>
										<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000071"/></span>
									</li>
								</ul>
							</c:if>
						</div>
						<%}%>
						</c:if>
						<%if(bModuleSCM_PU){%>
						<div id="orderList" class="channel_box">
							<div class="channel_title">
								<%if(ECVersionPara.isStdVersion()){%>
								<a href="#orderTable1#orderTableNull1" class="title_label active single_bd" id="orderzt"><lang-support:wp resid="ec22180_0" key="ec22180-000072"/></a>
								<a href="#orderTable2#orderTableNull2" class="title_label gradient_bd" id="ordergz"><lang-support:wp resid="ec22180_0" key="ec22180-000073"/></a>
								<a href="<%=path%>/order/exestatuslist" class="title_more" id="ordera"><lang-support:wp resid="ec22180_0" key="ec22180-000065"/></a>
								<%}else{%>
								<a href="#orderTable2" class="title_label active single_bd" id="ordergz"><lang-support:wp resid="ec22180_0" key="ec22180-000073"/></a>
								<a href="<%=path%>/order/exeinfolist" class="title_more" id="ordera"><lang-support:wp resid="ec22180_0" key="ec22180-000065"/></a>
								<%}%>
							</div>
							<%if(ECVersionPara.isStdVersion()){%>
							<table id="orderTable1" cellpadding="0" cellspacing="0"	class="infolist">
								<thead>
									<tr class="row_bg">
										<td  class="col_id">
											<lang-support:wp resid="ec22180_0" key="ec22180-000074"/>
										</td>
										<td  class="col_contentgs">
											<lang-support:wp resid="ec22180_0" key="ec22180-000075"/>
										</td>
										<td  class="col_dategs">
											<lang-support:wp resid="ec22180_0" key="ec22180-000076"/>
										</td>
										<td  class="col_contentgsx nobd">
											<lang-support:wp resid="ec22180_0" key="ec22180-000077"/>
										</td>
									</tr>
								</thead>
								<tbody id="orderExeStatusInfoBody">
								</tbody>
							</table>
							<table id="orderTable2" cellpadding="0" cellspacing="0"	class="infolist <%=strOrderExInfoClass%>">
								<thead>
									<tr class="row_bg">
										<td class="col_id">
											<lang-support:wp resid="ec22180_0" key="ec22180-000085"/>
										</td>
										<td class="col_contentgs">
											<lang-support:wp resid="ec22180_0" key="ec22180-000086"/>
										</td>
										<td class="col_dategs">
											<lang-support:wp resid="ec22180_0" key="ec22180-000087"/>
										</td>
										<td class="col_contentgsx nobd">
											<lang-support:wp resid="ec22180_0" key="ec22180-000088"/>
										</td>
									</tr>
								</thead>
								<tbody id="orderExeInfoBody">
								</tbody>
							</table>
							<ul id="orderTableNull1" class="infolist ">
								<li>
									<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000090"/></span>
								</li>
							</ul>
							<ul id="orderTableNull2" class="infolist hidden">
								<li>
									<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000091"/></span>
								</li>
							</ul>
							<%}%>
						</div>
						<%}%>
						<%if(bModuleEBP){%>
						<div id="zbgg"></div>
						<script type="text/javascript">
							seajs.use(
								[ G.base+'common/mainbar/src/js/bar', G.base+'common/mainlist/src/js/list' ],
								function(Bar, List) {
									var option1 = {
										attrs : {
											url : '<%=path%>/index/indexlog/zbgg/login?myts=' + new Date()
										}
									};
									var list = new List(option1);
									var strTitle = getLanMsgs("ec22180-000197");
									var strMoreTitle = getLanMsgs("ec22180-000201");
									var option2 = {
										attrs : {
											classPrefix : "default",
											title : strTitle,//头部标题
											more_title : strMoreTitle,//
											top_link : true,//头部是否显示更多链接
											top_url : '<%=path%>/index/indexlog/zbgggeng/login',//顶部链接的url,
											content : list
										},
										renderTo : 'zbgg'//放到哪个div
									};
									var graybar = new Bar(option2);
								});
						</script>
						<div id="releasedList" class="channel_box">
							<div class="channel_title">
								<a href="#post" class="title_label active" id="gonggl"><lang-support:wp resid="ec22180_0" key="ec22180-000092"/></a>
								<a href="#tendency" class="title_label " id="caigdx"><lang-support:wp resid="ec22180_0" key="ec22180-000093"/></a>
								<a href="#policy" class="title_label " id="zhengcfg"><lang-support:wp resid="ec22180_0" key="ec22180-000094"/></a>
								<a href="<%=path%>/infopub/purannounce" class="title_more"
									id="gengduo"><lang-support:wp resid="ec22180_0" key="ec22180-000065"/></a>
							</div>
							<ul id="post" class="infolist ">
								<c:if test="${purAnnounce!=null}">
									<c:forEach items="${purAnnounce}" var="pur" varStatus="index">
										<li>
											<c:if test="${pur.invite_type != 1}">
												<a href="javascript:ajaxurlheil('/ebvp/infopub/showcontent?id=${pur.pk_infopub_h}');" class="first_row">${pur.infotitle}</a>
												<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.pubtime}</span>&nbsp;&nbsp;&nbsp;
												<span style="display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.purgorp}</span>
												<c:if test="${index.index == 0}">
													<span class="detail_intro"><div style="word-wrap:break-word; word-spacing:normal">${pur.info_content}</div></span>
													<span class="pub_man">${pur.purper} </span>
													<span class="pub_org">${pur.purgorp} </span>
												</c:if>
												<!-- <span class="detail_date">(09-25)</span>-->
											</c:if>
											<c:if test="${pur.invite_type == 1}">
												<% if(null != isEcSupp && isEcSupp.booleanValue()){%>
												<a href="javascript:ajaxurlheil('/ebvp/sourcing/biddingprojlist/releaseinviteinfo?pkProj=${pur.purproj_id}&pkProjStep=${pur.proj_step_id}');"
													class="first_row"><lang-support:wp resid="ec22180_0" key="ec22180-000095"/>&nbsp;&nbsp;&nbsp;${pur.infotitle}</a>
												<%}else{%>
												<a href="javascript:showsfmMsg('<lang-support:wp resid="ec22180_0" key="ec22180-000257"/>','<lang-support:wp resid="ec22180_0" key="ec22180-000241"/>','<lang-support:wp resid="ec22180_0" key="ec22180-000258"/>')"
													class="first_row"><lang-support:wp resid="ec22180_0" key="ec22180-000095"/>&nbsp;&nbsp;&nbsp;${pur.infotitle}</a>
												<%}%>
												<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;"
												>${pur.pubtime}</span>
												<c:if test="${index.index == 0}">
													<span class="detail_intro"><div style="word-wrap:break-word; word-spacing:normal">${pur.info_content}</div></span>
													<span class="pub_man">${pur.purper} </span>
													<span class="pub_org">${pur.purgorp} </span>
												</c:if>
												<!--                            <span class="detail_date">(09-25)</span>-->
											</c:if>
										</li>
									</c:forEach>
								</c:if>
								<c:if test="${purAnnounce==null}">
									<li>
										<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000096"/></span>
									</li>
								</c:if>
							</ul>
							<ul id="tendency" class="infolist hidden">
								<c:if test="${purEtrends!=null}">
									<c:forEach items="${purEtrends}" var="pur" varStatus="index">
										<li>
											<a href="javascript:ajaxurlheil('/ebvp/infopub/showcontent?id=${pur.pk_infopub_h}');" class="first_row">${pur.infotitle}</a>
											<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.pubtime}</span>&nbsp;&nbsp;&nbsp;
											<span style="display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.purgorp}</span>
											<c:if test="${index.index == 0}">
												<span class="detail_intro"><div style="word-wrap:break-word; word-spacing:normal">${pur.info_content}</div></span>
												<span class="pub_man">${pur.purper} </span>
												<span class="pub_org">${pur.purgorp} </span>
											</c:if>
<!--											<span class="detail_date">(09-25)</span>-->
										</li>
									</c:forEach>
								</c:if>
								<c:if test="${purEtrends==null}">
									<li>
										<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000097"/></span>
									</li>
								</c:if>
							</ul>
							<ul id="policy" class="infolist hidden">
								<c:if test="${lawAndRule!=null}">
									<c:forEach items="${lawAndRule}" var="pur" varStatus="index">
										<li>
											<a href="javascript:ajaxurlheil('/ebvp/infopub/showcontent?id=${pur.pk_infopub_h}');" class="first_row">${pur.infotitle}</a>
											<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.pubtime}</span>&nbsp;&nbsp;&nbsp;
											<span style="display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.purgorp}</span>
											<c:if test="${index.index == 0}">
												<span class="detail_intro"><div style="word-wrap:break-word; word-spacing:normal">${pur.info_content}</div></span>
												<span class="pub_man">${pur.purper} </span>
												<span class="pub_org">${pur.purgorp} </span>
											</c:if>
<!--											<span class="detail_date">(09-25)</span>-->
										</li>
									</c:forEach>
								</c:if>
								<c:if test="${lawAndRule==null}">
									<li>
										<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000098"/></span>
									</li>
								</c:if>
							</ul>
						</div>
						<%}%>
					</div>
					<div class="frame_column_right">
						<div class="sidebox">
							<div class="box_title bg_orange">
								<span class="title_icon alerm"></span>
								<span class="title_name"><lang-support:wp resid="ec22180_0" key="ec22180-000099"/></span>
								<div id="alermInfo" class="reminder"></div>
								<a href="<%=path%>/infopub/moreWarningInfo" class="title_more"><lang-support:wp resid="ec22180_0" key="ec22180-000065"/></a>
							</div>
							<div class="sidebox_bd bdorange bg_pink">
								<div class="alerm_list">
								 		<div class="loading1"/>
										 
								</div>
							</div>
						</div>
						<%if(bModuleSCM_IC && ECVersionPara.isStdVersion()){%>
						<div class="sidebox_gray">
							<div class="box_title">
								<lang-support:wp resid="ec22180_0" key="ec22180-000101"/>
							</div>
							<div id="vmiQuery" class="query_form">
								<form id="vmiQueryForm" name="form1" action="<%=path%>/other/mainVmiList" method="post">
									<label class="tipinside">
										<input id="goods" name="goods" title="<lang-support:wp resid="ec22180_0" key="ec22180-000102"/>" class="textfield w_172px pd_5x2px" />
									</label>
									<label class="tipinside">
										<input id="storageOrg" name="storageOrg" title="<lang-support:wp resid="ec22180_0" key="ec22180-000103"/>" class="textfield w_172px pd_5x2px" />
									</label>
									<a  class="btn_orange" onclick="qryData()"> <span
										class="w_172px h_26px"><lang-support:wp resid="ec22180_0" key="ec22180-000104"/></span> </a>
								</form>
							</div>
						</div>
						<%}%>
						<%if(bModuleEBP){%>
						<div class="sidebox_gray">
							<div class="box_title">
								<lang-support:wp resid="ec22180_0" key="ec22180-000105"/>
							</div>
							<ul class="contact_info">
								<c:if test="${listpojo!=null}">
									 
								</c:if>
							</ul>
						</div>
						<%}%>
						<%if(bModuleEBP){%>
						<div class="sidebox_gray">
							<div class="box_title">
								供应商得分
							</div>
							<ul class="contact_info">
							你的得分为：<%=score%>
							</ul>
						</div>
						<%}%>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			<%if(bModuleSCM_PU){%>
			//获取环节信息
			$.ajax( {
				url : "<%=request.getContextPath()%>/order/qryOrderExeStatusForAjax?randomid="+new Date(),
				type : "POST",
				data : "",
				dataType : "text",
				async : false,
				success : function(responseText) {
					showOrderExeStatusInfo(responseText);
				}
	
			})
			function showOrderExeStatusInfo(responseText){
				if(responseText !='NULL' && responseText != ""){
					var orderExeStatusInfos = eval(responseText);	   
					var pkOrder = null;
					var pkWebOrder = null;
					var billNo = null;
					var purCorpName = null;
					var ordeDate = null;
					//状态维护
					var strEdit = getLanMsgs("ec22180-000078");
					var strTrHtml = "";
					if(orderExeStatusInfos.length > 0){
						for(var i=0;i<orderExeStatusInfos.length;i++){
							pkOrder = orderExeStatusInfos[i].pkOrder;
							pkWebOrder = orderExeStatusInfos[i].pkWebOrder;
							if(pkWebOrder == null){
								pkWebOrder = "";
							}
							billNo = orderExeStatusInfos[i].billNo;
							purCorpName = orderExeStatusInfos[i].purCorpName;
							ordeDate = orderExeStatusInfos[i].ordeDate;
							if(i % 2 == 1){
								strTrHtml = strTrHtml + "<tr class='row_bg' onclick=\"showDetailsStatus('" + pkOrder + "','" + pkWebOrder + "',this)\">";
							}else{
								strTrHtml = strTrHtml + "<tr onclick=\"showDetailsStatus('" + pkOrder + "','" + pkWebOrder + "',this)\">";
							}
							strTrHtml = strTrHtml + "<td class='col_id'>" + billNo + "</td>";
							strTrHtml = strTrHtml + "<td class='col_contentgs'>" + purCorpName + "</td>";
							strTrHtml = strTrHtml + "<td class='col_dategs'>" + ordeDate + "</td>";
							strTrHtml = strTrHtml + "<td class='col_contentgsx nobd'><a href=\"javascript:ajaxurlheil('/ebvp/order/exeStatusEdit?orderPk=" + pkOrder + "&pkWebOrder=" + pkWebOrder + "');\">" + strEdit + "</a></td>";
							strTrHtml = strTrHtml + "</tr>";
							
							strTrHtml = strTrHtml + "<tr class='hidden_detail hidden'>";
							strTrHtml = strTrHtml + "<td colspan='4'>";
							strTrHtml = strTrHtml + "<div id='" + pkOrder + "_1'>";
							strTrHtml = strTrHtml + "</div>";
							strTrHtml = strTrHtml + "</td>";
							strTrHtml = strTrHtml + "</tr>";
						}
						$("#orderTableNull1").hide();
					}else{
						$("#orderTable1").hide();
					}
					$("#orderExeStatusInfoBody").html(strTrHtml);
			    }else{
			    	$("#orderTable1").hide();
			    }
			}
			
			$.ajax( {
				url : "<%=request.getContextPath()%>/order/qryOrderExeInfosForAjax?randomid="+new Date(),
				type : "POST",
				data : "",
				dataType : "text",
				async : false,
				success : function(responseText) {
				    showOrderExeInfo(responseText);
				}
	
			})
			
			function showOrderExeInfo(responseText){
				if(responseText !='NULL' && responseText != ""){
					var orderExeInfos = eval(responseText);	   
					var pkOrder = null;
					var invoiceSuppName = null;
					var billNo = null;
					var purCorpName = null;
					var ordeDate = null;
					var strTrHtml = "";
					if(orderExeInfos.length > 0){
						for(var i=0;i<orderExeInfos.length;i++){
							pkOrder = orderExeInfos[i].pkOrder;
							invoiceSuppName = orderExeInfos[i].invoiceSuppName;
							billNo = orderExeInfos[i].billNo;
							purCorpName = orderExeInfos[i].purCorpName;
							ordeDate = orderExeInfos[i].ordeDate;
							if(i % 2 == 1){
								strTrHtml = strTrHtml + "<tr class='row_bg' onclick=\"showDetailsExe('" + pkOrder + "',this)\">";
							}else{
								strTrHtml = strTrHtml + "<tr onclick=\"showDetailsExe('" + pkOrder + "',this)\">";
							}
							strTrHtml = strTrHtml + "<td class='col_id'><a href=\"javascript:ajaxurlheil('/ebvp/order/exeinfoDetail?pkOrder=" + pkOrder + "&ordeDate=" + ordeDate + "');\">" + billNo + "</a></td>";
							strTrHtml = strTrHtml + "<td class='col_contentgs'>" + purCorpName + "</td>";
							strTrHtml = strTrHtml + "<td class='col_dategs'>" + ordeDate + "</td>";
							strTrHtml = strTrHtml + "<td class='col_contentgsx nobd'>" + invoiceSuppName + "</td>";
							strTrHtml = strTrHtml + "</tr>";
							
							strTrHtml = strTrHtml + "<tr class='hidden_detail hidden'>";
							strTrHtml = strTrHtml + "<td colspan='4'>";
							strTrHtml = strTrHtml + "<div id='" + pkOrder + "_2'>";
							strTrHtml = strTrHtml + "</div>";
							strTrHtml = strTrHtml + "</td>";
							strTrHtml = strTrHtml + "</tr>";
						}
						$("#orderTableNull2").hide();
					}else{
						$("#orderTable2").hide();
					}
					$("#orderExeInfoBody").html(strTrHtml);
			    }else{
			    	$("#orderTable2").hide();
			    }
			}
			<%}%>

				$(document).ready(function(){
					getPreAlert();
					getWorklist();
				}) ;
		</script>
	</body>
</html>
